﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs"  MasterPageFile="~/Site1.master" Inherits="IL2SWA._default" culture="auto"  uiculture="auto" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h1><asp:Label ID="LabelWelcome" runat="server" Text="<%$ Resources:Strings, Welcome %>"></asp:Label></h1>
    <p></p>
    <asp:Label ID="LabelDefaultInfo" runat="server" Text="<%$ Resources:Strings, DefaultInfo %>"></asp:Label>
    <div>
    <h3><asp:Label ID="LableOverview" runat="server" Text="<%$ Resources:Strings, Overview %>"></asp:Label></h3>
    <p> 
        <asp:GridView ID="MissionOverView" runat="server"  
            emptydatatext="<%$ Resources:Strings, NoMissionOverviewData %>" autogeneratecolumns="False">
            <columns>
             <asp:ImageField HeaderText ="Side" DataImageUrlField="Side"><ItemStyle HorizontalAlign="Center"></ItemStyle></asp:ImageField>             
             <asp:BoundField HeaderText="<%$ Resources:Strings, MissionsFlown %>" DataField="MissionsFlown" 
                    ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, NumberOfPilots %>" DataField="NumberOfPilots" 
                    ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, NumberOfBluePilots %>" DataField="NumberOfBluePilots" 
                    ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, NumberOfRedPilots %>" DataField="NumberOfRedPilots" 
                    ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalTakeOffs %>" DataField="TotalTakeOffs" 
                    ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalGndDestroyed %>" DataField="TotalGndDestroyed" 
                    ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalAirDestroyedHuman %>" 
                    DataField="TotalAirDestroyedHuman" ItemStyle-HorizontalAlign="Center" 
                    >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalAirDestroyedAI %>" 
                    DataField="TotalAirDestroyedAI" ItemStyle-HorizontalAlign="Center" 
                    >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalBridgesDestroyed %>" DataField="TotalBridgesDestroyed" 
                    ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, TotalFlightTime %>" DataField="TotalFlightTime" 
                    ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:BoundField>        
            </columns>
             <rowstyle backcolor="LightCyan"  
           forecolor="DarkBlue"
           font-italic="true"/>

        <alternatingrowstyle backcolor="PaleTurquoise"  
          forecolor="DarkBlue"
          font-italic="true"/>
        </asp:GridView>
    </p>
    <h3><asp:Label ID="LabelTopFighterPilots" runat="server" Text="<%$ Resources:Strings, TopFighterPilots %>"></asp:Label></h3>
    <p> 
        <asp:GridView ID="TopFighterPilots" runat="server" 
            emptydatatext="<%$ Resources:Strings, NoTopFighterPilotData %>" autogeneratecolumns="False" 
            >
        <columns>
        <asp:ImageField HeaderText ="Side" DataImageUrlField="Side"><ItemStyle HorizontalAlign="Center"></ItemStyle></asp:ImageField>
             <asp:HyperLinkField HeaderText="<%$ Resources:Strings, PlayerName %>" DataNavigateUrlFields="PlayerName" 
                 DataNavigateUrlFormatString="~/PlayerDetails.aspx?PlayerName={0}" 
                 DataTextField="PlayerName" ItemStyle-HorizontalAlign="Center" 
                >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:HyperLinkField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, MissionsFlown %>" DataField="NumberOfMissions" 
                 ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, AirDestroyedHuman %>" 
                 DataField="AirDestroyedHuman" ItemStyle-HorizontalAlign="Center" 
                 >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, AirDestroyedAI %>" DataField="AirDestroyedAI" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, GroundDestroyed %>" DataField="GndDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, BridgesDestroyed %>" DataField="BridgesDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Sorties %>" DataField="TakeOffs" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Landed %>" DataField="Landed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Crashed %>" DataField="Crashed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, ShotDownByHuman %>" DataField="ShotDownByHuman" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, ShotDownByAI %>" DataField="ShotDownByAI" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, KD %>" DataField="KDRatioAIR" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
          </columns>
           <rowstyle backcolor="LightCyan"  
           forecolor="DarkBlue"
           font-italic="true"/>

        <alternatingrowstyle backcolor="PaleTurquoise"  
          forecolor="DarkBlue"
          font-italic="true"/>
        </asp:GridView>
    </p>
    <h3><asp:Label ID="LabelTopGroundAttackPilots" runat="server" Text="<%$ Resources:Strings, TopGroundAttackPilots %>"></asp:Label></h3>
    <p> 
        <asp:GridView ID="TopGroundAttack" runat="server" 
            emptydatatext="<%$ Resources:Strings, NoTopGroundPilotData %>" 
            autogeneratecolumns="False" >
        <columns>
         <asp:ImageField HeaderText ="Side" DataImageUrlField="Side"><ItemStyle HorizontalAlign="Center"></ItemStyle></asp:ImageField>
             <asp:HyperLinkField HeaderText="<%$ Resources:Strings, PlayerName %>" DataNavigateUrlFields="PlayerName" 
                 DataNavigateUrlFormatString="~/PlayerDetails.aspx?PlayerName={0}" 
                 DataTextField="PlayerName" ItemStyle-HorizontalAlign="Center" 
                >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:HyperLinkField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, MissionsFlown %>" DataField="NumberOfMissions" 
                 ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, GroundDestroyed %>" DataField="GndDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, BridgesDestroyed %>" DataField="BridgesDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
              <asp:BoundField HeaderText="<%$ Resources:Strings, AirDestroyedHuman %>" 
                 DataField="AirDestroyedHuman" ItemStyle-HorizontalAlign="Center" 
                 >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, AirDestroyedAI %>" DataField="AirDestroyedAI" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Sorties %>" DataField="TakeOffs" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Landed %>" DataField="Landed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, Crashed %>" DataField="Crashed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, ShotDownByHuman %>" DataField="ShotDownByHuman" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, ShotDownByAI %>" DataField="ShotDownByAI" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
             <asp:BoundField HeaderText="<%$ Resources:Strings, KD %>" DataField="KDRatioGND" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>            
          </columns>
           <rowstyle backcolor="LightCyan"  
           forecolor="DarkBlue"
           font-italic="true"/>

        <alternatingrowstyle backcolor="PaleTurquoise"  
          forecolor="DarkBlue"
          font-italic="true"/>
        </asp:GridView>
    </p>
    <h3><asp:Label ID="LabelMissionDetails" runat="server" Text="<%$ Resources:Strings, MissionDetails%>"></asp:Label></h3>
    <p> 
        <asp:GridView ID="MissionDetails" runat="server" 
            emptydatatext="<%$ Resources:Strings, NoMissionOverviewData %>" autogeneratecolumns="False" 
           >
         <columns>
            <asp:HyperLinkField HeaderText="<%$ Resources:Strings, Mission %>" DataNavigateUrlFields="MissionName" 
                 DataNavigateUrlFormatString="~/MissionDetails.aspx?MissionName={0}" 
                 DataTextField="MissionName" ItemStyle-HorizontalAlign="Center" 
                 >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:HyperLinkField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, MissionDate %>" DataField="MissionGameDateTime" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, FlownOn %>" DataField="MissionFlow" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, Map %>" DataField="MissionMap" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, AirDestroyed %>" DataField="TotalAirDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, GroundDestroyed %>" DataField="TotalGndDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, BridgesDestroyed %>" DataField="TotalBridgesDestroyed" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, CloudType %>" DataField="CloudType" 
                 ItemStyle-HorizontalAlign="Center">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, CloudHeight %>" DataField="CloudHeight" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, Gust %>" DataField="Gust" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
            <asp:BoundField HeaderText="<%$ Resources:Strings, Turbulence %>" DataField="Turbulence" 
                 ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
             </asp:BoundField>
         </columns>
          <rowstyle backcolor="LightCyan"  
           forecolor="DarkBlue"
           font-italic="true"/>

        <alternatingrowstyle backcolor="PaleTurquoise"  
          forecolor="DarkBlue"
          font-italic="true"/>
        </asp:GridView>
      
    </p>
    </div>
</asp:Content>